﻿using FirstFloor.ModernUI.Windows.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using TanmiaGrp.Basis;
using TanmiaGrp.Basis.Properties;
using TanmiaGrp.GeneralLedger.Core;
using TanmiaGrp.GeneralLedger.Domain;
using TanmiaGrp.GeneralLedger.WinApp.Commands;

namespace TanmiaGrp.GeneralLedger.WinApp.Scenarios
{
    public class GroupEditorViewModel : BaseEditorViewModel<Group, GroupDomain>
    {
        public GroupEditorViewModel()
        {
            BusinessDomain = GroupDomain.Obj;

            PageNavigationEvent = Events.GroupPageNavigation;
            BrowserInitializedEvent = Events.GroupBrowserInitialized;
            EntityNavigationEvent = Events.GroupEntityNavigate;
            EntitySavedOrDeletedEvent = Events.GroupBrowserRefresh;

            Initialize();
        }
    }
}